CREATE TABLE
CREATE TABLE — statement is used to create a new table in a database.CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype, .... );The column parameters specify the names of the columns of the table. The datatype parameter specifies the type of data the column can hold (e.g. varchar, integer, date, etc.).
CREATE TABLE - Popular snippets
- MySQL 8.0 CREATE TABLE
last run:
2024-12-06 03:29:46
242
- PostgreSQL 14 CREATE TABLE INSERT INTO SELECT ORDER BY
last run:
2024-11-08 16:59:06
207
- MySQL 8.0 CREATE TABLE INSERT INTO DELETE WHERE AND SELECT
last run:
2024-12-20 08:24:50
197
- MariaDB 11.5 CREATE TABLE NOT AUTO_INCREMENT DEFAULT UPDATE PRIMARY KEY INSERT INTO SELECT WHERE GROUP BY AND LEFT JOIN INNER JOIN ORDER BY
last run:
2024-12-03 12:28:55
184
- MySQL 5.7 CREATE TABLE INSERT INTO
last run:
2024-12-04 19:13:59
172
- Oracle Database 21c CREATE TABLE INSERT INTO SELECT SUM LEFT JOIN GROUP BY
last run:
2024-12-19 16:57:50
155
- PostgreSQL 15 CREATE TABLE DEFAULT PRIMARY KEY INSERT INTO LEAD NOT SELECT
last run:
2024-12-13 06:59:24
153
- MS SQL Server 2017 CREATE TABLE SELECT SUM COUNT LEFT OUTER JOIN GROUP BY
last run:
2023-08-30 12:37:31
136
- MySQL 8.0 CREATE TABLE PRIMARY KEY AUTO_INCREMENT INSERT INTO SELECT WHERE IN GROUP BY HAVING ORDER BY
last run:
2024-07-04 08:07:58
130
- MySQL 8.0 CREATE TABLE INSERT INTO WITH SELECT WHERE CONCAT INNER JOIN CASE NOT ORDER BY BETWEEN AND LEFT JOIN
last run:
2024-11-15 18:17:24
124
CREATE TABLE - New snippets
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 12:06:57
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 12:03:13
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 11:59:13
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 11:59:00
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 11:58:33
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 11:05:54
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM
added at:
2024-12-21 11:05:17
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM COUNT GROUP BY ORDER BY
added at:
2024-12-21 10:49:53
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM COUNT GROUP BY ORDER BY
added at:
2024-12-21 10:49:41
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY INSERT INTO SELECT FOREIGN KEY SUM COUNT GROUP BY HAVING
added at:
2024-12-21 10:46:53
1